//
//  MJ_SelectTranslatorView.m
//  UEAssistant
//
//  Created by mac on 2018/2/12.
//  Copyright © 2018年 youyixinxi. All rights reserved.
//

#import "MJ_SelectTranslatorView.h"

@interface MJ_SelectTranslatorView ()
@property (weak, nonatomic) IBOutlet UIButton *talentPoolButton;
@property (weak, nonatomic) IBOutlet UIButton *groupButton;

@property (weak, nonatomic) IBOutlet UIButton *cancelButton;
@end

@implementation MJ_SelectTranslatorView

- (IBAction)buttonPressed:(UIButton *)sender {
    
    if ([sender isEqual:self.talentPoolButton]) {
        self.selectTranslatorBlock(MJ_SelectTranslatorTypetalentPool);
        
    }else if ([sender isEqual:self.groupButton]) {
        self.selectTranslatorBlock(MJ_SelectTranslatorTypeGroup);
        
    }else{
        self.selectTranslatorBlock(MJ_SelectTranslatorTypeCancel);
    }
}


@end
